#用户模块
class UserModel:
    def __init__(self):
        self.user = {
            'user_id':'',
            'nickname':'',
            'password':'',
            'user_desc':'',
            'head':''
        }
    
    def  setuser(self,user_id,nickname,password,user_desc,head):
        self.user['user_id'] = user_id
        self.user['nickname'] = nickname
        self.user['password'] = password
        self.user['user_desc'] = user_desc
        self.user['head'] = head
    
    def getuser(self):
        return self.user
